﻿namespace MapleLeaf.Application.CookBook.Models {
    /// <summary>
    /// DataUserNoticePageVO
    /// </summary>
    public partial class DataUserNoticePageVo {
        /// <summary>
        ///  分页数据
        /// </summary>
        public List<UserNoticePageVo> List { get; set; } = [];
        /// <summary>
        ///  总记录数
        /// </summary>
        public long? Total { get; set; }
    }
    /// <summary>
    /// UserNoticePageVO，用户公告VO
    /// </summary>
    public class UserNoticePageVo {
        /// <summary>
        /// 通知ID
        /// </summary>
        public long? Id { get; set; }

        /// <summary>
        /// 是否已读
        /// </summary>
        public long? IsRead { get; set; }

        /// <summary>
        /// 通知等级
        /// </summary>
        public string Level { get; set; }

        /// <summary>
        /// 发布人姓名
        /// </summary>
        public string PublisherName { get; set; }

        /// <summary>
        /// 发布时间
        /// </summary>
        public DateTimeOffset? PublishTime { get; set; }

        /// <summary>
        /// 通知标题
        /// </summary>
        public string Title { get; set; }

        /// <summary>
        /// 通知类型
        /// </summary>
        public long? Type { get; set; }
    }
}
